package com.rgp.servicepassengeruser.controller;

import com.rgp.servicepassengeruser.mapper.PassengerUserMapper;
import com.rgp.servicepassengeruser.pojo.PassengerUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-12 17:33
 */
@RestController
public class TestController {

    @Autowired
    private PassengerUserMapper passengerUserMapper;

    @GetMapping("test")
    public String test(){
        PassengerUser passengerUser = passengerUserMapper.selectById(1);
        System.out.println(passengerUser);
        return "test ...";
    }
}
